//
//  NetworkTools+User.swift
//  LEOweibo
//
//  Created by zz on 16/2/27.
//  Copyright © 2016年 zz. All rights reserved.
//

import Foundation

extension NetworkTools {
    
   
    //加载用户信息
    func loadUserInfo(access_token: String, uid: String,finished:([String:AnyObject]?)->()) {
        
        let urlString = "https://api.weibo.com/2/users/show.json"
        let params = ["access_token":access_token, "uid":uid]
        request(.GET, urlString: urlString, parameter: params, finished: finished)
    }
    
    
}